<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>sign测试</title>

<script type="text/javascript" src="sign.e.js"></script>
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>

</head>

<body>
<script>
	var qs = sign("com.zx.api.base.outlets.list",{},"");
	console.log(qs);
	$.ajax({  
         type: "get",  
         async: false,  
         url: "http://121.40.232.112:7002/invoke.do?"+qs,  
         dataType: "jsonp",  
         jsonp: "callback",//传递给请求处理程序或页面的，用以获得jsonp回调函数名的参数名(一般默认为:callback)  
         success: function (data) { 
         	console.log(data); 
         },  
         error: function (ex) {  
         	console.log(ex);
         }  
     });  
</script>

</body>
</html>